<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Push Climbing Club</title>
        <link href="{{base_url()}}PushClimb/style.css" rel="stylesheet" type="text/css" />
        <script src="{{base_url()}}syslib/MyScript/jquery-1.7.2.js"></script>
        <script src="{{base_url()}}syslib/MyScript/vadilation.js"></script>
        <script src="{{base_url()}}syslib/slimScroll/slimScroll.js"></script>
        <script src="{{base_url()}}syslib/cycle/jquery.cycle.all.js"></script>
        <meta name="google-translate-customization" content="e98911dfecdd68c-3ce4e0df14a9141d-g55db998be4f0205d-10"></meta>
        <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="{{base_url()}}PushClimb/style-IE.css" media="all" />
        <![endif]-->

    </head>
    <body>
        <div class="hidden" style="display: none;" id="mylanguage">
            <div id="google_translate_element"></div>
        </div>

        <script type="text/javascript">
        function googleTranslateElementInit() {
        new google.translate.TranslateElement({
                pageLanguage: 'en', 
                includedLanguages: 'en,ko,vi', 
                layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
            }, 'google_translate_element');
        }
        </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
        {{include file='../../sys/01_notice.tpl'}}
        {{include file='../../sys/02_script.tpl'}}
        <script>
        function mylanguage(){
            $("#mylanguage").toggle();
        }
        function Vote(ID,Like){
            if(isrunning)return;
            var url,data;
            url="{{base_url()}}home/vote";
            data={
                ID  : ID,
                Like:   Like
            }
            isrunning=true;
            debugAjax(url,data,function(result){
                isrunning=false;
                if(result.code>=0){
                    var obj
                    if(Like=="like"){
                        obj=$(".pr-"+ID+" .like")
                    }else{
                        obj=$(".pr-"+ID+" .dislike")
                    }
                    
                    var n=parseInt(obj.html())+1;
                    obj.html(n.toString()+"");
                }else{
                    ShowNoticeDialogMessage(result.msg);
                }
            });
        }
        $(document).ready(function(){
            $(document).tooltip({
            track: true,
            position: {
                my: "center top+20",
                at: "center bottom-20"
            }
        });
        });
        </script>